home *** CD-ROM | disk | FTP | other *** search
/ Aminet 24 / Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso / Aminet / dev / c / cxref_1_4a.lha / cpp / tm.h < prev    next >
C/C++ Source or Header  |  1996-11-02  |  2KB  |  63 lines

  1. /***************************************
  2.   $Header: /home/amb/cxref/cpp/RCS/tm.h 1.1 1996/11/02 14:22:40 amb Exp $
  3.  
  4.   Target machine header file tm.h.
  5.   ******************/ /******************
  6.   Written by Andrew M. Bishop
  7.  
  8.   This file consists of parts taken from GNU CC.
  9.  
  10.   GNU CC is free software; you can redistribute it and/or modify
  11.   it under the terms of the GNU General Public License as published by
  12.   the Free Software Foundation; either version 2, or (at your option)
  13.   any later version.
  14.   ***************************************/
  15.  
  16.  
  17. #ifndef TM_H
  18. #define TM_H    /*+ To stop multiple inclusions. +*/
  19.  
  20. /* Number of bits in an addressable storage unit */
  21.  
  22. #define BITS_PER_UNIT 8
  23.  
  24.  
  25. /* Width in bits of a "word", which is the contents of a machine register.
  26.    Note that this is not necessarily the width of data type `int';  */
  27.  
  28. #if defined(dsp1600) || defined(__H8300__)
  29. #define BITS_PER_WORD 16
  30. #elif defined(__alpha) || defined(convex) || defined(elxsi)
  31. #define BITS_PER_WORD 64
  32. #elif defined(mips) && (_MIPS_SZLONG==64 || defined(__mips64))
  33. #define BITS_PER_WORD 64
  34. #elif defined(__sparc__) && defined(__sparc_v9__)
  35. #define BITS_PER_WORD 64
  36. #else
  37. #define BITS_PER_WORD 32
  38. #endif
  39.  
  40.  
  41. /* Define results of standard character escape sequences.  */
  42.  
  43. #if defined(mvs)
  44. #define TARGET_BELL    47
  45. #define TARGET_BS    22
  46. #define TARGET_TAB    5
  47. #define TARGET_NEWLINE    21
  48. #define TARGET_VT    11
  49. #define TARGET_FF    12
  50. #define TARGET_CR    13
  51. #else
  52. #define TARGET_BELL    007
  53. #define TARGET_BS      010
  54. #define TARGET_TAB     011
  55. #define TARGET_NEWLINE 012
  56. #define TARGET_VT      013
  57. #define TARGET_FF      014
  58. #define TARGET_CR      015
  59. #endif
  60.  
  61.  
  62. #endif /* TM_H */
  63.